﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using log4net;

namespace AffordoPlugin.Helper
{
	public static class LogHelper
	{
		private static ILog logger = LogManager.GetLogger("Error");
		private static ILog loggerInfo = LogManager.GetLogger("Info");

		public static void Error(string msg)
		{
			logger.Error(msg);
		}

		public static void Exception(string msg, Exception ex)
		{
			logger.Error(msg, ex);
		}

		public static void Info(string msg)
		{
			loggerInfo.Info(msg);
		}
	}
}
